<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="true">
<head>  
  <title>菜单/新增</title>
  <%@ include file="../link_script.jsp" %>
  <%@ include file="../link_script.jsp" %>
  <script type="text/javascript">
    $(function() { 
      $("form").validity(function() {
        $("#functionID").require();
        $("#functioName").require();
        $("#functionTilte").require();
      });
    });
  </script>
</head>
<body> 
<form action="function.do?method=addFunction_Do" method="post" target="_self">
<script src="js/calendar.js" language="javascript" type="text/javascript"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@ include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td width="100%" class="STYLE32">添加菜单</td>
          </tr>
          <tr>
            <td class="STYLE11"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;菜单ID : </td>
                <td class="STYLE11"><input type="text" id="functionID" name="functionID" value="${functionID}?" size="5" title="菜单ID不能为空" />&nbsp;<font color="red">*</font></td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;父菜单 : </td>
                <td class="STYLE11"><input type="text" id="functionParentID" name="functionParentID" value="${functionID}" size="5" readonly /></td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;菜单名称 : </td>
                <td class="STYLE11"><input type="text" id="functioName" name="functioName" size="30" title="菜单名称不能为空" />&nbsp;<font color="red">*</font></td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;描述 : </td>
                <td class="STYLE11"><input type="text" id="functionDescription" name="functionDescription" size="30" />
                </td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;URL : </td>
                <td class="STYLE11"><input type="text" id="functionURL" name="functionURL" size="30" />
                </td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;菜单标题 : </td>
                <td class="STYLE11"><input type="text" id="functionTilte" name="functionTilte" size="30" title="菜单标题不能为空" />&nbsp;<font color="red">*</font></td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;TARGET : </td>
                <td class="STYLE11"><input type="text" id="functionTarget" name="functionTarget" size="5" />&nbsp;<font color="red">*</font>&nbsp;_blank ,_self ,_parent ,_top </td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;ICON : </td>
                <td class="STYLE11"><input type="text" id="functionIcon" name="functionIcon" size="5" />
                </td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;ICONOPEN : </td>
                <td class="STYLE11"><input type="text" id="functionIconOpen" name="functionIconOpen" size="5" />
                </td>
              </tr>
              <tr>
                <td class="STYLE31" width="8%">&nbsp;&nbsp;OPENED : </td>
                <td class="STYLE11"><input type="text" id="functionOpened" name="functionOpened" size="5" />
                </td>
              </tr>            
            </table></td>
          </tr>
          <tr>
            <td class="STYLE12"><input type="submit" value="提交"/><input type="reset" value="取消"/></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@ include file="../no_page.jsp"%>
</table>
</form>
</body>
</html>
